<?php
namespace app\common\modules\user\model;

use think\Model;

class User extends Model
{
    protected $table = 'user';

    protected $pk = 'id';

    public function token()
    {
        return $this->hasOne(UserToken::class, 'user_id', 'id');
    }


}